<input type="hidden" value="<?php echo $this->hoy ?>" id="hdnHace40" name="hdnHace40" />
<input type="hidden" id="mpredio"/>
<input type="hidden" id="mviadis"/>
<input type="hidden" id="mpoblad"/>
<div id="dialogEditarPersona">
    <table>
        <tr>
            <td>
                <div id="panelPersona1" align="center" class="ui-widget ui-widget-content ui-corner-all" style="width: 650px;margin: 3px;padding-bottom: 5px;">
                    <div class="ui-widget ui-state-default ui-corner-top ui-title">
                        <label>Identificación del Contribuyente</label>
                    </div>
                    <table style="width: 99%; margin: 4px;" cellpadding="4" cellspacing="2">
                        <tr>
                            <td colspan="3" align="right"><b>Código&nbsp;</b>
                                <input id="txtcodigo" name="txtcodigo" class="ui-text-disable" readonly style="width: 80px;"/>
                                <input type="hidden" id="st_estado" name="st_estado"/>
                            </td>
                        </tr>
                        <tr><td colspan="3" style="height: 5px;"></td></tr>
                        <tr>
                            <td>Tipo de Persona</td>
                            <td>Tipo Documento</td>
                            <td>Nro. Documento</td>
                        </tr>
                        <tr>
                            <td><select id="cbotipper" style="width:150px" name="cbotipper">
                                    <?php echo $this->util()->getComboContenedor('1000000092', '1000000093'); ?>
                                </select>
                            </td>
                            <td><select id="cbotipdoc" style="width:150px" name="cbotipdoc">
                                    <?php echo $this->util()->getComboContenedorOtro('1000000528', '1000000529', "public.obtener_tabla_otro"); ?>
                                </select>
                            </td>
                            <td><input id="nrodoc" name="nrodoc" class="ui-text" maxlength="8" style="width:180px" /> 
                            </td>
                        </tr>
                        <tr><td colspan="3" style="height: 5px;"></td></tr>
                        <tr>
                            <td colspan="3">Nombres y/o Raz&oacute;n Social</td>							
                        </tr>
                        <tr>
                            <td colspan="3"> 
                                <input id="nombre" name="nombre" style="width:520px"class="ui-text" maxlength="100"  />
                                <input type="hidden" id="apatern" name="apatern" />
                                <input type="hidden" id="amatern" name="amatern" />
                            </td>
                        </tr>
                        <tr><td colspan="3" style="height: 5px;"></td></tr>
                        <tr>
                            <td>Sexo</td>
                            <td>Estado Civil</td>
                            <td>F.Nacimiento</td>
                        </tr>
                        <tr>
                            <td>
                                <select style="width:150px"   id="cbosexo" name="cbosexo">
                                    <option value="9">SELECCIONAR</option>
                                    <option value="1">MASCULINO</option>
                                    <option value="2">FEMENINO</option>
                                </select>
                            </td>
                            <td>
                                <select style="width:150px"   id="cboestcivil" name="cboestcivil">
                                    <?php echo $this->util()->getComboContenedor('0000000250', '9999999999'); ?>
                                </select>
                            </td>
                            <td><input id="fecnace" name="fecnace" class="ui-text"></td>
                        </tr>
                        <tr><td colspan="3" style="height: 5px;"></td></tr>
                        <tr>
                            <td>Nro. Teléfono</td>
                            <td>Nro. Movil</td>
                            <td>Correo Electrónico</td>
                        </tr>
                        <tr>
                            <td><input id="nrotef" name="nrotef" class="ui-text" maxlength="10"></td>
                            <td><input id="nromovil" name="nromovil" class="ui-text" maxlength="10"></td>
                            <td><input id="mail" name="mail" class="ui-text" style="width:180px" maxlength="200"></td>
                        </tr>
                    </table>
                </div>
            </td>
            <td rowspan="2" valign="top" style="width: 250px">
                <div id="panelPersona2" align="center" class="ui-widget ui-widget-content ui-corner-all" style="height: 350px; margin: 3px;">
                    <div class="ui-widget ui-state-default ui-corner-top ui-title">
                        <label>Observaciones</label>
                    </div>
                    <textarea id="ds_observacion" name="ds_observacion" style="width: 246px; height: 310px; margin: 6px;" class="ui-text" maxlength="250"></textarea>
                </div>
            </td>
        </tr>
        <tr>
            <td rowspan="2" >
                <div id="panelPersona2" align="center" class="ui-widget ui-widget-content ui-corner-all" style="width: 650px;margin: 3px;">
                    <div class="ui-widget ui-state-default ui-corner-top ui-title">
                        <label>Dirección Fiscal</label>
                    </div>
                    <table border="0" style="width: 99%; margin: 4px;" cellpadding="4" cellspacing="2">
                        <tr>
                            <td>Distrito</td> 
                            <td colspan="2"><select id="distrito" name="distrito" style="width:150px" ></select></td>
                            <td colspan="3" align="right"><button id="btnbuscarpredio" >Buscar Predio</button></td>
                        </tr>
                        <tr><td colspan="6" style="height: 5px;"></td></tr>
                        <tr>
                            <td colspan="6">Urbanización, Asentamiento Humano, etc.</td>
                        </tr>
                        <tr>
                            <td colspan="6">
                                <input id="denominacion" name="denominacion" style="width: 99%;" class="ui-text panel-direccion" maxlength="150">
                            </td>
                        </tr>
                        <tr><td colspan="6" style="height: 5px;"></td></tr>
                        <tr>											
                            <td>Nro.</td>
                            <td>Dpto.</td>
                            <td>Mz.</td>
                            <td>Lote</td>
                            <td>Interior</td>
                            <td>Letra</td>
                        </tr>
                        <tr>
                            <td><input id="direcnumero" name="direcnumero" style="width: 80%;" class="ui-text panel-direccion" maxlength="25"></td>
                            <td><input id="departamen" name="departamen" style="width: 80%;" class="ui-text panel-direccion" maxlength="25"></td>
                            <td><input id="manzana" name="manzana" style="width: 80%;" class="ui-text panel-direccion" maxlength="25"></td>
                            <td><input id="lote" name="lote" style="width: 80%;" class="ui-text panel-direccion" maxlength="25"></td>
                            <td><input id="interior" name="interior" style="width: 80%;" class="ui-text panel-direccion" maxlength="25"></td>
                            <td><input id="letra" name="letra" style="width: 80%;" class="ui-text panel-direccion" maxlength="25"></td>
                        </tr>
                        <tr><td colspan="6" style="height: 5px;"></td></tr>
                        <tr>
                            <td>Estacionamiento</td>                              	                                
                            <td>Deposito</td>
                            <td>Bloque</td>
                            <td>Sección</td>
                            <td>Und.Inmobilaria</td>
                            <td></td>
                        </tr>
                        <tr>											                                    

                            <td><input id="estac" name="estac" style="width: 80%" class="ui-text panel-direccion" maxlength="25"></td>
                            <td><input id="depos" name="depos" style="width: 80%" class="ui-text panel-direccion" maxlength="25"></td>
                            <td><input id="bloque" name="bloque" style="width: 80%" class="ui-text panel-direccion" maxlength="25"></td>
                            <td><input id="secc" name="secc" style="width: 80%" class="ui-text panel-direccion" maxlength="25"></td>
                            <td><input id="unid" name="unid" style="width: 80%" class="ui-text panel-direccion" maxlength="25"></td>
                            <td></td>
                        </tr>
                        <tr><td colspan="6" style="height: 5px;"></td></tr>
                        <tr>
                            <td colspan="6">Referencia</td>	
                        </tr>
                        <tr>
                            <td colspan="6">
                                <textarea id="ref" name="ref" style="width:99%;" class="ui-text" maxlength="250"></textarea>
                            </td>
                        </tr>
                    </table>
                </div>                
            </td>
        </tr>
        <tr>
            <td align="right" valign="bottom" style="padding-bottom: 6px; padding-right: 6px;">
                <button id="btnGuardarPersona" >Guardar</button>
                <button id="btnCancelarPersona">Cancelar</button>
            </td>
        </tr>
    </table>
</div>
<?php
    $this->id = "Predio";
    echo $this->render("common/buscadorContribuyentePredio.php"); 
?>
